package com.ruoyi.asset.roadgreening.domain.vo;

import java.util.Date;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.tools.excel.base.DataCheckResult;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 道路绿化管养管理范围导入模板 ta_greenery
 *
 * @author lq
 * @date 2023-11-23
 */
@Data
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = true)
public class RoadGreeningVo extends BaseEntity {
	
    private static final long serialVersionUID = 1L;
    
    /**
     * 主键
     */
    private Long id;

    /**
     * 道路编码
     */
    private String roadCode; 
    
    /**
     * 道路名称
     */
    @ExcelProperty(value = "*道路名称（必填）")
    private String roadName; 

    /**
     * 面积
     */
    @ExcelProperty(value = "*面积/数量（必填）")
    private Double area;
    
    /**
     * 管养类型
     */
    private String maintenanceType;

    @ExcelProperty(value = "*管养类型（必填）")
    private String maintenanceTypeName;

    /**
     * 属性1
     */
    @ExcelProperty(value = "属性1")
    private String attr1;

    /**
     * 属性2
     */
    @ExcelProperty(value = "属性2")
    private String attr2;

    /**
     * 区
     */
    @ExcelProperty(value = "*区（必填）")
    private String region;

    /**
     * 街道
     */
    @ExcelProperty(value = "*街道（必填）")
    private String street;
    
    /**
     * 社区
     */
    @ExcelProperty(value = "*社区（必填）")
    private String community;

    /**
     * 片区
     */
    @ExcelProperty(value = "片区")
    private String jurisdictions;

    /**
     * 应该管养频率
     */
    @ExcelProperty(value = "*地址（必填）")
    private String detailAddress;

    /**
     * 服务开始时间
     */
    @ExcelProperty(value = "*服务生效日期（必填）")
    @DateTimeFormat(value = "yyyy-MM-dd")
    private Date serviceBeginDate;

    /**
     * 服务结束时间
     */
    @ExcelProperty(value = "*服务截止日期（必填）")
    @DateTimeFormat(value = "yyyy-MM-dd")
    private Date serviceEndDate;
    
    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remarks;
    
    /**
     * 数据检查结果
     */
    @JsonIgnore
    private DataCheckResult dataCheckResult = new DataCheckResult();
}
